﻿<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
    <title>{$tkd.title|parseTpl}</title>
    <meta name="keywords" content="{$tkd.keywords|parseTpl}">
    <meta name="description" content="{$tkd.description|parseTpl}">
    <meta name="author" content="www.ptcms.com">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width"/>
    <meta name="applicable-device" content="pc">
    <meta http-equiv="mobile-agent" content="format=html5; url={$kx.config.mobileurl}__SELF__">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <meta http-equiv="Cache-Control" content="no-transform"/>
    <link rel="stylesheet" href="{$kx.config.resurl}/template/kxwebno3/css/xiaoshuo1.css"/>
</head>
<body>
<!-- 头部 -->
<div id="wrapper">
    {include file="/system/header"}
    <div id="main">
        <div id="hotcontent">
            <!--站长推荐-->
            <div class="l">
                {block method="recommend" name=list recommendid=2 num=4}
                {loop=$list}
                <div class="item">
                    <div class="image">
                        <a href="{link=novel.novel.index novelid=$loop.data.novel.id pinyin=$loop.data.novel.pinyin}">
                            <img src="{$loop.data.novel.cover}" alt="{$loop.data.novel.name}" width="120" height="150"/>
                        </a>
                    </div>
                    <dl>
                        <dt>
                            <span>{$loop.data.author.name}</span>
                            <a href="{link=novel.novel.index novelid=$loop.data.novel.id pinyin=$loop.data.novel.pinyin}">{$loop.data.novel.name}</a>
                        </dt>
                        <dd>
                            {$loop.data.novel.intro|showIntroLine|truncate=50}
                        </dd>
                    </dl>
                    <div class="clear"></div>
                </div>
                {/section}
            </div>
            <!--新书推荐-->
            <div class="r">
                <h2>新书推荐</h2>
                <ul>
                    {block method="recommend" name=list recommendid=1 num=9}
                    {loop=$list}
                    <li>
                        <span class="s1"><a title="{$loop.data.category.name}" href="{link=novel.category.list categoryid=$loop.data.category.id key=$loop.data.category.key}">[{$loop.data.category.name}]</a></span>
                        <span class="s2"><a href="{link=novel.novel.index novelid=$loop.data.novel.id pinyin=$loop.data.novel.pinyin}" title="{$loop.data.novel.name}">{$loop.data.novel.name}</a></span>
                        <span class="s5">{$loop.data.author.name}</span>
                    </li>
                    {/loop}
                </ul>
            </div>
            <div class="clear"></div>
        </div>
        <!--分类列表-->
        {block method="category.list" name=list withall=0 pid=1 num=9}
        {section loop=$list item=$loop name=ii}
        {if $ii.index % 3 == 0}
        <div id="novelslist1" class="novelslist">
            {/if}
            <div class="content">
                <h2>
                    <a title="{$loop.name}" href="{link=novel.category.list categoryid=$loop.id key=$loop.key}">{$loop.name}</a>
                </h2>
                {block method="novel.list" name=novellist num=13 category=$loop.id}
                {section loop=$novellist item=$nlist}
                {if $i.first}
                <div class="top">
                    <div class="image">
                        <a href="{link=novel.novel.index novelid=$nlist.novel.id pinyin=$nlist.novel.pinyin}" title="{$nlist.novel.name}"><img src="{$nlist.novel.cover}" alt="{$loop.data.novel.name}" width="67" height="82"/></a></div>
                    <dl>
                        <dt>
                            <a href="{link=novel.novel.index novelid=$nlist.novel.id pinyin=$nlist.novel.pinyin}" title="{$nlist.novel.name}">{$nlist.novel.name}</a>
                        </dt>
                        <dd>
                            {$nlist.novel.intro|showIntroLine|truncate="50"}
                        </dd>
                    </dl>
                    <div class="clear"></div>
                </div>
                <ul>
                    {else}
                    <li>
                        <a href="{link=novel.novel.index novelid=$nlist.novel.id pinyin=$nlist.novel.pinyin}" title="{$nlist.novel.name}">{$nlist.novel.name}</a>/{$nlist.author.name}
                    </li>
                    {/if}
                    {/section}
                </ul>
            </div>
            {if $ii.index > 0 && $ii.index % 3 == 2}
            <div class="clear"></div>
        </div>
        {/if}
        {/section}
        <div id="newscontent">
            <!--最新更新-->
            <div class="l">
                <h2> 最近更新小说列表</h2>
                <ul>
                    {block method="novel.list" name=list order=lastupdate num=25 cachetime=180}
                    {loop}
                    <li>
                        <span class="s1"><a title="{$loop.category.name}" href="{link=novel.category.list categoryid=$loop.category.id key=$loop.category.key}"> [{$loop.category.name}] </a></span>
                        <span class="s2"><a title="{$loop.novel.name}" href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" target="_blank">{$loop.novel.name}</a></span>
                        <span class="s3"><a title="{$loop.last.name}" href="{link=novel.chapter.read novelid=$loop.novel.id pinyin=$loop.novel.pinyin chapterid=$loop.last.id}" target="_blank">{$loop.last.name}</a></span>
                        <span class="s4">{$loop.author.name}</span>
                        <span class="s5">{$loop.last.time|date="m-d H:i"}</span>
                    </li>
                    {/loop}
                </ul>
            </div>
            <!--最新入库-->
            <div class="r">
                <h2>热门小说</h2>
                <ul>
                    {block method="novel.list" name=list order=weekvisit num=25}
                    {section loop=$list item=$loop}
                    <li>
                        <span class="s1"><a title="{$loop.category.name}" href="{link=novel.category.list categoryid=$loop.category.id key=$loop.category.key}"> [{$loop.category.name}] </a></span>
                        <span class="s2"><a class="color5" href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}" title="{$loop.novel.name}">{$loop.novel.name}</a></span>
                        <span class="s5">{$loop.author.name}</span>
                    </li>
                    {/loop}
                </ul>
            </div>
            <div class="clear">
            </div>
        </div>
    </div>
    <!--友情链接-->
    <div id="firendlink">
        友情连接：
        {block method="friendlink.list" name=list}
        {loop=$list}
        <a href="{$loop.url}" target="_blank" title="{$loop.name}{$loop.intro}">{$loop.is_bold|default='','<strong>'}{$loop.name}{$loop.is_bold|default='','</strong>'}</a>
        {/loop}
    </div>
    <!--底部版权-->
    {include file="/system/footer"}
</body>
</html>